package website.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import website.domain.Link;
import website.domain.ResModel;

import java.util.List;

public interface LinkService  extends IService<Link> {
    ResModel issue(Link link);

    ResModel<List<Link>> getList();

    ResModel<IPage<Link>> getByPage(Integer current, Integer size);

    ResModel delLink(Integer id);

    ResModel<List<Link>> listByUid(Integer uid);
}
